package com.qb.video.http

import com.qb.common.api.one.VideoApiService


class VideoNetWork {
    private val mService by lazy { RetrofitClientVideo.getInstance().create(VideoApiService::class.java) }

    companion object {
        @Volatile
        private var netWork: VideoNetWork? = null

        fun getInstance() = netWork ?: synchronized(this) {
            netWork ?: VideoNetWork().also { netWork = it }
        }
    }

//    suspend fun videomain(map:MutableMap<String,Any>) = mService.videomain(map)
//    suspend fun api(map:MutableMap<String,Any>) = mService.api(map)

}